$sidebarWidth: 104px;
$headerHeight: 32px;
$borderColor: #E9E9EB;
.fullschedule-container{
  margin: 10px 0 0;
  overflow-x: auto;
  position: relative;
}
.fsc-root{
  width: 100%;
  min-width: 1600px;
  position: relative;
  border: solid 1px $borderColor;
  border-top: 0px;
}
.fsc-header{
  background-color: #F1F2F6;
  height: $headerHeight;
  position: sticky;
  top: 0px;
  z-index: 5;
  border-top: solid 1px $borderColor;
}
.fsc-container{
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  overflow: hidden;
  .fsc-sidebar{
    width: $sidebarWidth;
    border-right: solid 1px $borderColor;
    position: relative;
  }
  .fsc-main{
    display: flex;
    width: 100%;
    flex-wrap: wrap;
  }
}

$appoSuccessColor: #0bd677;
$appoSuccessBgColor: rgba(11, 214, 119, 0.08);
$appoSuccessBrColor: rgba(11, 214, 112, 0.4);
$appoDefaultColor: #1890FF;
$appoDefaultBgColor: rgba(26, 144, 255, 0.08);
$appoDefaultBrColor: rgba(24, 143, 255, 0.4);
$appoDangerColor: #E37470;
$appoDangerBgColor: rgba(227, 116, 112, 0.08);
$appoDangerBrColor: rgba(235, 79, 79, 0.4);
$appoWarnColor: #FF8618;
$appoWarnBgColor: rgba(255, 136, 24, 0.08);
$appoWarnBrColor: rgba(255, 136, 24, 0.4);
$appoGreyColor: #919398;
$appoGreyBgColor: rgba(145, 147, 152, 0.08);
$appoGreyBrColor: rgba(145, 147, 152, 0.4);

// fscmain.vue
#info-button{
    position:absolute;
    left:0;
    top:0;
    z-index: 1;
    height:24px;
    line-height:10px;
}
.slot-wrap{
  width: 100%;
  position: relative;
  overflow: initial;
  border-bottom: solid 1px $borderColor;
  &:last-child{
    border-bottom: none;
  }
}
.fixed-bar .slot-wrap:before {
  content: '上　午';
  left: -45px;
  display: flex;
  width: 45px;
  justify-content: center;
  writing-mode: vertical-lr;
  align-items: center;
  position: sticky;
  top:0;
  bottom: 0;
  z-index: 3;
  background: rgb(240, 240, 240);
  // background: rgb(242, 242, 242);
  border-bottom: 1px solid #606266;
}
.fixed-bar .slot-wrap:nth-child(2):before {
  content: '下　午';
  left: -45px;
  display: flex;
  width: 45px;
  top: 0;
  bottom: 0;
  justify-content: center;
  writing-mode: vertical-lr;
  border-bottom: 0;
}
.slot-row{
  width: 100%;
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  .slot-col{
    flex: 1;
    box-sizing: border-box;
    border-right: solid 1px $borderColor;
    position: relative;
    min-height: 26px;
    &:last-child{
      border-right: none;
    }
    &.slotDisable{
      background-color: rgba(20, 41, 61, 0.04);
    }
    .slot-item{
      // margin-top: 10px;
      border-bottom: solid 1px $borderColor;
      box-sizing: border-box;
      padding: 8px 8px 8px 8px;
      position: relative;
      &:last-child{
        border-bottom: none;
      }
      &.slotRest{
        background-color: rgba(235, 79, 79, 0.05);
      }
      &.checked{
        background-color: rgba(184, 245, 221, 0.6);
      }
      // &.slotDisable{
      //   background-color: rgba(20, 41, 61, 0.04);
      // }
      .appo-add{
        width: 100%;
        height: 100%;
        display: none;
        justify-content: center;
        align-items: center;
        border: dashed 1px $appoDefaultColor;
        background-color: #fff;
        font-size: 14px;
        color: $appoDefaultColor;
        position: relative;
        left: 0;
        top: 0;
      }
      .appo-add-line{
        display: flex;
        width: 100%;
        height: 26px;
        justify-content: center;
        align-items: center;
        border: dashed 1px $appoDefaultColor;
        background-color: #fff;
        font-size: 14px;
        color: $appoDefaultColor;
      }
      .appo-add-hover{
        margin: 0px 0 10px 0;
        height: 26px;
        .appo-add-line{
          cursor: pointer;
          display: none;
          &:hover{
            box-shadow: 0 0 3px $appoDefaultColor;
          }
        }
      }
      .appo-addbox{
        width: 100%;
        height:  100%;
        &:hover{
          .appo-add{
            cursor: pointer;
            display: flex;
          }
        }
      }
    }
    &:hover{
      .slot-item .appo-add-hover .appo-add-line{
        display: flex;
      }
    }
  }
  .fsc-line-gird{
    height: 100%;
    margin: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    background-color: #f3fbff;
    li{
      display: block;
      min-width: 100px;
      margin-right: 30px;
    }
  }
  .btn-show{
    color: $appoDefaultColor;
    cursor: pointer;
    &:hover{
      opacity: 0.8;
    }
  }
}
.divider{
  // height: 20px;
  font-size: 14px;
  // border-top: solid 1px $borderColor;
  // background: $borderColor;
}
.appo-box{
  width: 100%;
  box-sizing: border-box;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 4;
  .appo-itembox{
    width: 100%;
    height: 100%;
    padding: 8px;
  }
}

.appo-item{
  border: solid 1px $appoDefaultBrColor;
  background-color: #fff;
  border-radius: 3px;
  cursor: pointer;
  user-select: none;
  position: relative;
  z-index: 2;
  margin-bottom: 3px;
  line-height: 28px;
  height: 100%;
  &:last-child{
    margin-bottom: 0;
  }
  .appo-item-flex{
    display: flex;
    align-items: center;
  }
  .time{
    color: $appoDefaultColor;
    background-color: $appoDefaultBgColor;
    text-align: center;
  }
  .info{
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 12px;
    color: #606266;
    height: calc(100% - 28px);
    .type{
      color: $appoDefaultColor;
      margin-left: 10px;
    }
  }
  .appo-del{
    display: none;
    position: absolute;
    right: 3px;
    top: 6px;
    z-index: 5;
    color: #666;
    &:hover{
      color: #f00;
    }
  }
  .appo-check{
    display: none;
    position: absolute;
    right: 36px;
    top:0px;
    z-index: 5;
  }
  .appo-tag{
    position: absolute;
    left: 0px;
    top:0px;
    width: 26px;
    text-align: center;
    .appo_color_block{
      width: 4px;
      height: 24px;
      position: absolute;
      left: -6px;
      top: 0px;
    }
  }
  &.appo-lock{
    .time{
      color: #fff;
      background-color: $appoDefaultColor;
    }
    .appo-tag{
      color: #fff;
    }
  }
  &:hover{
    box-shadow: 0 0 6px rgba(83, 83, 83, 0.3);
    .appo-del{
      display: block;
    }
    .appo-check{
      display: block;
    }
  }
  &.appo-active{
    .time{
      color: #fff;
      background-color: $appoDefaultColor;
    }
    .appo-tag{
      color: #fff;
    }
  }
}
.appo-item-mini{
  // overflow: hidden;
  line-height: 24px;
  height: 26px;
  &.appo-tag-block{
    padding-left: 26px;
  }
  // .appo-item-flex{
  //   display: flex;
  //   align-items: center;
  // }
  .time{
    width: 86px;
    text-align: center;
  }
  .info{
    display: block;
    text-align: center;
    .source{
      white-space: nowrap;
      margin-left: 3px;
    }
    span{
      margin-right: 3px;
    }
  }
  .appo-tag-mini{
    position: absolute;
    width: 26px;
    height: 100%;
    line-height: 24px;
    text-align: center;
    left: 0px;
    top:0px;
  }
  .appo-del{
    color: #fff;
    background-color: rgba(227, 116, 112, 0.6);
    font-size: 12px;
    padding: 3px;
    border-radius: 50%;
    top: 3px;
    right: 3px;
    &:hover{
      color: #fff;
      background-color: rgba(227, 116, 112, 0.8);
    }
  }
  .appo-check{
    color: #fff;
    font-size: 14px;
    top:0px;
    right: 33px;
  }
}
.appo-item-default{
  border: solid 1px $appoDefaultBrColor;
  .time{
    color: $appoDefaultColor;
    background-color: $appoDefaultBgColor;
  }
  .info{
    .type{
      color: $appoDefaultColor;
    }
  }
  .appo-tag{
    color: $appoDefaultColor;
  }
  .appo-tag-mini{
    background-color: $appoDefaultColor;
    color: #fff;
  }
  &:hover{
    border-color: $appoDefaultColor;
  }
  &.appo-active,&.appo-lock{
    .time{
      color: #fff;
      background-color: $appoDefaultColor;
    }
    .appo-tag{
      color: #fff;
    }
  }
}
.appo-item-grey{
  border: solid 1px $appoGreyBrColor;
  .time{
    color: $appoGreyColor;
    background-color: $appoGreyBgColor;
  }
  .info{
    .type{
      color: $appoGreyColor;
    }
  }
  .appo-tag{
    color: $appoGreyColor;
  }
  .appo-tag-mini{
    background-color: $appoGreyColor;
    color: #fff;
  }
  &:hover{
    border-color: $appoGreyColor;
  }
  &.appo-active,&.appo-lock{
    .time{
      color: #fff;
      background-color: $appoGreyColor;
    }
    .appo-tag{
      color: #fff;
    }
  }
}
.appo-item-danger{
  border: solid 1px $appoDangerBrColor;
  .time{
    color: $appoDangerColor;
    background-color: $appoDangerBgColor;
  }
  .info{
    .type{
      color: $appoDangerColor;
    }
  }
  .appo-tag{
    color: $appoDangerColor;
  }
  .appo-tag-mini{
    background-color: $appoDangerColor;
    color: #fff;
  }
  &:hover{
    border-color: $appoDangerColor;
  }
  &.appo-active,&.appo-lock{
    .time{
      color: #fff;
      background-color: $appoDangerColor;
    }
    .appo-tag{
      color: #fff;
    }
  }
}
.appo-item-warn{
  border: solid 1px $appoWarnBrColor;
  .time{
    color: $appoWarnColor;
    background-color: $appoWarnBgColor;
  }
  .info{
    .type{
      color: $appoWarnColor;
    }
  }
  .appo-tag{
    color: $appoWarnColor;
  }
  .appo-tag-mini{
    background-color: $appoWarnColor;
    color: #fff;
  }
   &:hover{
    border-color: $appoWarnColor;
  }
  &.appo-active,&.appo-lock{
    .time{
      color: #fff;
      background-color: $appoWarnColor;
    }
    .appo-tag{
      color: #fff;
    }
  }
}
.appo-item-success{
  // margin-left: 50px;
  // width: 207px;
  border: solid 1px $appoSuccessBrColor;
  .time{
    color: $appoSuccessColor;
    background-color: $appoSuccessBgColor;
  }
  .info{
    .type{
      color: $appoSuccessColor;
    }
  }
  .appo-tag{
    color: $appoSuccessColor;
  }
  .appo-tag-mini{
    background-color: $appoSuccessColor;
    color: #fff;
  }
  &:hover{
    border-color: $appoSuccessColor;
  }
  &.appo-active,&.appo-lock{
    .time{
      color: #fff;
      background-color: $appoSuccessColor;
    }
    .appo-tag{
      color: #fff;
    }
  }
}
.tag_text_clr{
  font-weight: bold;
  color: #ffff00 !important;
}
.cannotEdit{
  cursor: default;
}

.item-resize{
  width: 100%;
  height: 2px;
  cursor: s-resize;
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 3;
}
.check_zq{
  &::after{
    content: '';
    display: block;
    width: 5px;
    height: 100%;
    border-radius: 2px;
    background-color: #f00;
    position: absolute;
    right: 0px;
    top: 0;
  }
}
.appo-spec{
  width: 100%;
  background: $appoDefaultColor;
  height: 32px;
}
.appofilter_wrap{
  position: fixed;
  right: 0;
  top: 50px;
  z-index: 100;
  border: solid 1px #e5e5e5;
  background-color: #fff;
  box-shadow: 0 1px 20px rgba(0,0,0,0.1);
  min-width: 300px;
  .appof_tit{
    font-size: 14px;
    color: #333;
    padding: 10px;
    text-align: center;
  }
  .appof_item{
    width: 100%;
    display: flex;
    padding: 2px;
    border-top: solid 1px #e5e5e5;
    // &:last-child{
    //   border: none;
    // }
    .appof_lab{
      background-color: #f6f6f6;
      border-radius: 3px;
      padding: 4px;
      width: 80px;
      color: #666;
    }
    .appof_val{
      flex: 1;
      padding: 4px;
      color: #333;
      max-width: 200px;
    }
  }
}
